import React from 'react';
import { Flex, WingBlank, WhiteSpace, List, Progress, Card } from 'antd-mobile';

const { Item, Item: { Brief } } = List;

export default function ScaleReport(props) {

  window.scrollTo(0, 0);
  return (
    <WingBlank size="md">
      <List wrap>
         <Item>
            <Flex justify="center">高血压病辅助辨证报告</Flex>
            <WhiteSpace/>
            <Flex justify="end">
                <div style={{fontSize: '0.25rem'}}>
                    {props.createTime}
                </div>
            </Flex>
        </Item>
        <Item> 
          主诉
            <div style={{whiteSpace: "normal", textIndent: "2em"}}>{props.PatientValue.patientValue2}</div>
          <WhiteSpace size="lg" />
        </Item>
        <Item>
          一般症状
            <div style={{whiteSpace: "normal", textIndent: "2em"}}>{props.PatientValue.patientValue1}</div>
          <WhiteSpace size="lg" />
        </Item>
        <Item>
          舌脉症状
            <div style={{whiteSpace: "normal", textIndent: "2em"}}>{props.PatientValue.patientValue3}</div>
          <WhiteSpace size="lg" />
        </Item>
        <Item>
          辨证分型
            <div style={{whiteSpace: "normal", textIndent: "2em"}}>{props.report1}</div>
          <WhiteSpace size="lg" />
        </Item>
      </List>
    </WingBlank>
  );
}
